package com.vpx.server.bean.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@TableName("sys_sql_config")
@ApiModel(value = "sql", description = "sql管理")
public class SqlConfig extends BaseEntity{
          @TableId
          @ApiModelProperty(value = "主键")
          private String id;

          @ApiModelProperty(value = "报表KEY")
          private String type;

          @ApiModelProperty(value = "唯一编码")
          private String keyCode;

          @ApiModelProperty(value = "报表名称")
          private String name;

          @ApiModelProperty(value = "查询条件(type为查询才有此字段)")
          private String queryCondition;

          @ApiModelProperty(value = "列表字段配置")
          private String columns;



          @ApiModelProperty(value = "自定义分页统计(type为查询才有此信息)")
          private String queryPageSqlText;

          @ApiModelProperty(value = "sql语句")
          private String sqlText;

          @ApiModelProperty(value = "bean名称")
          private String beanName;
          @ApiModelProperty(value = "方法名称")
          private String methodName;

}
